package com.yangwp.doutu.dao;

import com.yangwp.doutu.dto.CommentRespDto;
import com.yangwp.doutu.model.Comment;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CommentDao {

	int insert(Comment comment);
	
	int update(Comment comment);
	
	Comment getCommentById(Integer id);

    Integer countComment(Map<String, Object> params);

    List<CommentRespDto> getCommentList(String md5);
	
}